package br.com.tecnoria.vo
{
	[Bindable]
	[RemoteClass(alias="AddressVO")]
	public class AddressVO
	{
		public var idAddress:int;
		public var idCustomer:int;
		public var name:String;
		public var address:String;
		public var number:String;
		public var district:String;
		public var cep:String;
		public var city:String;
		public var state:String;
		
		public function AddressVO(address:Object=null)
		{			
			if (address != null)
			{				
				this.idAddress = address.idAddress;
				this.idCustomer = address.idCustomer;
				this.name = address.name;
				this.address = address.address;
				this.number = address.number;
				this.district = address.district;
				this.cep = address.cep;
				this.city = address.city;
				this.state = address.state;
			}
		}
	}
}